\hypertarget{main_8cpp}{
\subsection{main.cpp File Reference}
\label{main_8cpp}\index{main.cpp@{main.cpp}}
}
Implementation of main. 

{\tt \#include \char`\"{}main.h\char`\"{}}\par


Include dependency graph for main.cpp:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=420pt]{main_8cpp__incl}
\end{center}
\end{figure}
\subsubsection*{Functions}
\begin{CompactItemize}
\item 
int \hyperlink{main_8cpp_0ddf1224851353fc92bfbff6f499fa97}{main} (int argc, char $\ast$argv\mbox{[}$\,$\mbox{]})
\begin{CompactList}\small\item\em main. \item\end{CompactList}\end{CompactItemize}


\subsubsection{Detailed Description}
Implementation of main. 

\begin{Desc}
\item[Author:]Jeremy Schultz \end{Desc}


\subsubsection{Function Documentation}
\hypertarget{main_8cpp_0ddf1224851353fc92bfbff6f499fa97}{
\index{main.cpp@{main.cpp}!main@{main}}
\index{main@{main}!main.cpp@{main.cpp}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}int main (int {\em argc}, char $\ast$ {\em argv}\mbox{[}$\,$\mbox{]})}\hfill}
\label{main_8cpp_0ddf1224851353fc92bfbff6f499fa97}


main. 

\begin{itemize}
\item Process the command line arguments (input, output, assembly)\item Create the need classes (admin, symboltable, scanner, parser)\item Starts the parser\item If no errors output the requested (Pl interpreter or MIPS) assembly code\item If requested output the intermediate code \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em argc}]number of arguments \item[{\em argv}]See Usage string \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]scanner failed or not \end{Desc}
\end{itemize}
